package org.jeese.modules.sys.service;

import java.util.Set;

import org.jeese.modules.sys.entity.SysUser;

/**
 * 系统用户
 */
public interface SysUserService {

	SysUser getUserById(Long userId);

	Set<String> getAdminRoles();

	Set<String> getAdminPermsSet();

	Set<String> getUserRoles(Long userId);

	Set<String> getUserPermsSet(Long userId);

	SysUser getByName(String name);

	SysUser getByAccount(String account);

	int editUserLoginInfo(Long userId, String ip);

}
